# Maintainer : Daniel Bermond <dbermond@archlinux.org>
# Contributor: ajs124 < aur AT ajs124 DOT de > 

pkgname=firetools
pkgver=0.9.72
pkgrel=1
pkgdesc='Graphical user interface of Firejail'
arch=('loong64' 'x86_64')
url='https://firejail.wordpress.com/'
license=('GPL')
depends=('firejail' 'qt5-base' 'qt5-svg')
source=("https://sourceforge.net/projects/firejail/files/firetools/${pkgname}-${pkgver}.tar.xz"{,.asc})
#source=("https://github.com/netblue30/firetools/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
sha256sums=('f09cd216973c6ef7971f83cfc9288b7b3dc4c87890add744d7e2730929d18b96'
            'SKIP')
validpgpkeys=('F951164995F5C4006A73411E2CCB36ADFC5849A7') # netblue (firejail key)

build() {
    cd "${pkgname}-${pkgver}"
    ./configure --prefix='/usr'
    make
}

package() {
    make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
}
